/* 弹窗层 */
.bny-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 991;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 消息框 */
.bny-msg {
    padding: 8px 16px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

/* 确认框 */
.bny-confirm {
    width: 240px;
    max-width: calc(100vw - 32px);
    border: 2px solid var(--primary);
    padding: 8px 16px;
    border-radius: var(--border-radius);
    background-color: var(--white);

}

.bny-alert {
    background-color: var(--white);
}

.bny-alert>div {
    margin: 0;
}

.bny-confirm .bny-confirm-title {
    font-size: var(--font-size-20);
    color: var(--primary);
    font-weight: 500;
}

.bny-confirm .bny-confirm-body {
    margin: 8px 0 16px 0;
    font-size: var(--font-size-16);
    color: var(--primary);
    word-wrap: break-word;
}

.bny-confirm .bny-confirm-btn {
    text-align: right;
}

/* 页面框 */
.bny-page {
    display: block;
    border: 2px solid var(--primary);
    background-color: var(--white);
    max-width: 100%;
    max-height: 100%;
    z-index: 9999;
    position: fixed;
    box-shadow: var(--box-shadow-small);
    box-sizing: border-box;
    overflow: hidden;
}

.bny-page .bny-page-header {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    padding: 0 16px;
    justify-content: space-between;
    height: 50px;
    line-height: 50px;
    border-bottom: 2px solid var(--primary);
}

.bny-page .bny-page-header:active {
    cursor: move;
}

.bny-page .bny-page-header .bny-page-setwin {
    white-space: nowrap;
}

.bny-page .bny-page-header .bny-page-setwin span {
    margin-left: 10px;
}

.bny-page .bny-page-header .bny-page-setwin span:hover {
    cursor: pointer;
}

.bny-page .bny-page-content {
    box-sizing: border-box;
    width: 100%;
    height: calc(100% - 50px);
}

.bny-page .bny-page-content>iframe {
    width: 100%;
    height: 100%;
    border: none;
}